﻿QWidget:focus{outline: none;}
/********************QPushButton************************/

QPushButton[flat="true"] {
  border: none;
  outline: none;
  color: white;
}

QPushButton#nextBtn{
    width: 320px;
    height: 48px;
    opacity: 1;
    border-radius: 6px;
    font-size: 14px;
    font-family: Noto Sans CJK SC;
    font-weight: 500;
    line-height: 35px;
    color: #FFFFFF;
    background: #1D8EFF;
}

#nextBtn:hover{
    background: #4BA0F5;
}
#nextBtn:foucs{
    background: #0C61D5;
}
#nextBtn:pressed{
    background: #0C61D5;
}

#nextBtn:disabled{
    color: rgba(255, 255, 255, 0.4);
    background: #2D6BAA;
}

/*解决按钮设置enabled时，按钮显示的问题*/
QPushButton#nextBtn[enabled="false"]{
    background: #2D6BAA;
    border-radius: 6px;
}
QPushButton#nextBtn[enabled="true"]{
    background:  #0C61D5;
    border-radius: 6px;
}


/********************QLabel************************/
QLabel {
    color:white;
    font-size:16px;
}
QLabel#textLabel{
    color:rgba(255, 255, 255);
    font-size:12px;
    background-color: rgba(0, 0, 0, 0.2);
}

QWidget#ArrowWidget {
     background-color: rgba(0, 0, 0, 0.2);
}

QTextBrowser#partInfo {
    font-size: 14px;
    font-family: Noto Sans CJK SC;
    font-weight: 400;
    border:0px;
    line-height:40px;
    color: #FFFFFF;
    background:rgba(0, 0, 0, 0.25) ;
    opacity:0.2;
    border-radius: 6px;
    padding-top: 8px;
    padding-right: 8px;
    padding-bottom: 8px;
    padding-left: 8px;

}


QLabel#mainTitle {
    font-size: 28px;
    font-family: Noto Sans CJK SC;
    font-weight: 500;
    line-height: 40px;
    color: #FFFFFF;
    opacity: 1;
}

QLabel#tiplabel {
    font-size: 16px;
    font-family: Noto Sans CJK SC;
    font-weight: 500;
    line-height: 40px;
    color: #FFFFFF;
    opacity: 1;
}
QLabel#partLabel {
    font-size: 14px;
    font-family: Noto Sans CJK SC;
    font-weight: 500;
    line-height: 40px;
    color: #FFFFFF;
    opacity: 1;
}
QLabel#partInfo {
    font-size: 14px;
    font-family: Noto Sans CJK SC;
    font-weight: 500;
    line-height: 40px;
    color: #FFFFFF;
    opacity: 1;
}
/********************QProgressBar***********************
QProgressBar {
    width: 116px;
    height: 1px;
}
*/

/******************QCheckBox***********************/
QCheckBox {
    font-size: 14px;
    font-family: Noto Sans CJK SC;
    font-weight: 400;
    line-height: 64px;
    color: #FFFFFF;
    background:transparent;
    opacity: 1;

}
QCheckBox::indicator:enabled:unchecked:focus {
    image: url(:/res/pic/checkboxcheck-hover.svg);
}
QCheckBox::indicator:disabled:unchecked {
    image: url(:/res/pic/discheckboxcheck.svg);
}
QCheckBox::indicator:enabled:unchecked {
    image: url(:/res/pic/checkboxcheck.svg);
}
QCheckBox::indicator:disabled:checked {
    image: url(:/res/pic/discheckboxchecked.svg);
}
QCheckBox::indicator:enabled:checked {
    image: url(:/res/pic/checkboxchecked.svg);
}

/******************************************************/

/*垂直滚动条整体*/
QScrollBar:vertical {
/*    border: 0px;*/
    width:8px;
    border-radius:4px;
    background:rgba(255,255,255,1);

    background-color:transparent;
}
QScrollBar:vertical:hover {
    width:8px;
    margin-top:4px;   /*上预留位置*/
    margin-bottom:4px;    /*下预留位置*/
    background:rgba(255,255,255,0.2);
    border-radius:4px;

}
QScrollBar::handle:vertical:selected {
    width:6px;
    min-height:80px;
    border-radius:3px;
    background:rgba(255,255,255,0.4);

}

/*滚动条中滑块的样式*/
QScrollBar::handle:vertical {
    width:6px;
    min-height:80px;
    border-radius:3px;
    background:rgba(255,255,255,0.2);
}

/*鼠标触及滑块样式*/
QScrollBar::handle:vertical:hover {
    width:6px;
    background:rgba(255,255,255,0.2);
    border-radius:3px;
    min-height:80px;
}

/*设置下箭头*/
QScrollBar::add-line:vertical {
    height:2px;
    width:6px;
    border-radius:3px;
    /*border-image:url(:/selectfile/scroll/3.png);*/
    subcontrol-position:bottom;
}

/*设置上箭头*/
QScrollBar::sub-line:vertical {
    height:2px;
    width:6px;
    border-radius:3px;
    /*border-image:url(:/selectfile/scroll/1.png);*/
    subcontrol-position:top;
}

/*设置下箭头:悬浮状态*/
QScrollBar::add-line:vertical:hover {
    height:12px;
    width:6px;
    border-radius:3px;
    /*border-image:url(:/selectfile/scroll/4.png);*/
    subcontrol-position:bottom;
}

/*设置上箭头：悬浮状态*/
QScrollBar::sub-line:vertical:hover {
    height:2px;
    width:6px;
    border-radius:3px;
   /* border-image:url(:/selectfile/scroll/2.png);*/
    subcontrol-position:top;
}

/*当滚动条滚动的时候，上面的部分和下面的部分*/
QScrollBar::add-page:vertical,QScrollBar::sub-page:vertical {
    background:rgba(255,255,255,0);
    border-radius:3px;
}

